* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}  
:root {
    --color-barra-lateral: rgb(1, 95, 209);
    --color-texto: white;
    --Color-boton:rgb(184, 255, 137);
    

}
body{
    font-family: Arial, Helvetica, sans-serif;
margin-top: -60px;
    height: 100vh ;
    width: 100%;
    background-color: rgb(255, 255, 255) !important;
 
}
main {
    width: 800px;
    margin: auto;
    padding-left: 30px;
}
.menu{

  background-color: rgb(1, 95, 209);
  color: white;
  position: fixed;
  width: 45px;
  height: 45px;
  font-size: 25px;
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  top: 10px;
left: 330px;
}

.barra-lateral {
   width: 250px;
   height: 100vh;
   position: fixed;
   display: flex;
   flex-direction: column;
   justify-content: start;
   overflow: hidden;
   padding: 20px 15px;
   background-color: var(--color-barra-lateral);
   transition: width 0.5s ease,background-color 0.3s ease,left 0.5s ease;
   z-index: 50;


}
.barra-lateral .navegacion a:hover{
   background-color: rgb(8, 76, 195);
   color: rgb(253, 220, 29);
   padding: 5px;
}
.nav-text {
   opacity: 0;
   width: 0;
}
a{
   color: white;
   text-decoration: none;
   background-color: transparent;
}
 
.mini-barra-lateral{
   width: 80px;
}
.barra-lateral .nombre-pagina{
   display: block;
   width: 100%;
   height: 45px;
   color: var(--color-texto);
   margin-bottom: 30px;
   display: block;
   align-items: center;
}
.barra-lateral .nombre-pagina ion-icon{
   min-width: 50px;
   font-size: 35px;
   cursor: pointer;
}
.barra-lateral .nombre-pagina span{
   
   font-size: 17px;
   font-weight: bold;
   opacity: 1;
   transition: opacity 0.5s ease;


}
.barra-lateral span.oculto{
   opacity: 0;
   width: 0;
}

.logo {
   width: 100px;
   min-width: 50px;
   cursor: pointer;
}
#cloud{
   cursor: pointer;
}


#unidades {
   font-size: 15px;
   padding: 0px;
   text-align: left;
   line-height: 17px;
  font-weight: lighter;
  background-color: transparent;


}
.barra-lateral .navegacion {
   height: 100vh;
   overflow-y: auto;


  margin-top: 60px;

}
.navegacion {

   overflow-y: auto; /* Desbordamiento vertical con barra de desplazamiento */
 }
 .barra-lateral .navegacion::-webkit-scrollbar{
   width: 5px;
}
.barra-lateral .navegacion::-webkit-scrollbar-thumb{
   background-color: white;
   border-radius: 5px;
}
.barra-lateral .navegacion::-webkit-scrollbar-thumb:hover{
   background-color: rgb(248, 203, 0);
}

.barra-lateral .navegacion li{  
   list-style: none;

}


html {
    scroll-behavior: smooth;
  }
  
   /* Estilos generales */
   body {
    font-family: Arial, sans-serif;
    padding: 0;
    background-color: #ffffff; /* Fondo de la página */

}
.titulounidad {
  margin: auto;
  width: 42rem;
  }


/* Encabezado */
h1 {
  color:  #39955d;
  font-size: 20px;
}
h2 { 
  color:  #39955d;
  font-size: 18px;
  font-style: italic;
}
h3 {
background-image: url(../materialgrafico/titulo_exerciseu3.png);
  background-repeat: no-repeat;
  background-size: 250px;
  padding: 15px;
  color: white;
  font-size: 22px; 
  font-family: Arial, Helvetica, sans-serif; 
  margin-top: 20px;
  font-weight: bold;

}


/* Estilos para párrafos y listas */
p {
  margin: 10px;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 23px; }

  .parrafoGris {
    background-color: #39955d;
    color: white;
    border-radius: 25px;
    padding: 15px;
  
  }

.p35pad{/* parrafos con 50px padding */
  padding-left: 35px;
}

.p25pad{/* parrafos con 25px padding */
  padding-left: 25px;
}


.spacep{
    margin-left: 0px;
}
/* Estilos para ejemplos y palabras en negrita */
.ejemplosp {
  font-style: italic;
  margin-left: 60px;
  font-size: 17px;
  background-color: #f3f3f3;
 line-height: 23px;
}

.palabrascolor {
  color: #39955d;
  font-style: italic;
font-weight: bold;
}

/* Estilos para ejemplos y palabras en color */
.palabrasencerradas {
  background-color:  #39955d;
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  display: inline;
  width:fit-content;
margin: 5px;
  }


/* Columnas para ejemplos */
.contenedorlista1capitulo {
  display: flex;
  flex-wrap: wrap;
  width: 90%;

}

.contenedorlista1 {  /*2 columnas pc 1 columna telefono*/
  display: flex;
}

.contenedorlista2 { /*dos columnas en todos los dispositivos*/
  display: flex;
}

.renglon1{ /*  renglon 20% */
  border: none;
  border-bottom: 2px solid  #39955d;
  outline: none;
  width: 5rem;
  padding: 0px;
  margin: 1px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
background-color: transparent;
height: 20px;
}

.renglon2{ /*  renglon 30% */
  border: none;
  border-bottom: 2px solid   #39955d;
  outline: none;
  width: 7rem;
  padding: 1px;
  margin: 2px;
  background-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  
}

.renglon3{
  border: none;
  border-bottom: 2px solid;
  outline: none;
  width: 32rem;
  padding: 1px;
  margin: 5px;
  background-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #39955d;
}
.renglon4{
  border: none;
  border-bottom: 2px solid;
  outline: none;
  width: 3rem;
  padding: 1px;
  margin: 5px;
  background-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;;
  color: #39955d;
}
.renglon5{
  border: none;
  border-bottom: 2px solid;
  outline: none;
  width: 36rem;
  padding: 1px;
  margin: 5px;
  background-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;;
  color: #39955d;
}

.renglon6{
  border: none;
  border-bottom: 2px solid;
  outline: none;
  width: 36rem;
  padding: 1px;
  margin: 5px;
  background-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;;
  color: #39955d;
}

.renglon7{
  border: none;
  border-bottom: 2px solid;
  outline: none;
  width: 12rem;
  padding: 1px;
  margin: 5px;
  background-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;;
  color: #39955d;
  margin-left: 9px;
}
.renglon8{
  border: none;
  border-bottom: 2px solid;
  outline: none;
  width: 2rem;
  padding: 1px;
  margin: 5px;
  background-color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;;
  color: #39955d;
  margin-left: 9px;
}


.ejemploRC {
  border: none;
  border-bottom: 2px solid  #39955d;
  outline: none;
  width: 9em;
  padding: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color:  #39955d;
}

  .contenedorrenglon {
    display: flex;
    align-items: center; /* Alinea verticalmente los elementos en el centro */
    height: 30px;
  }

.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
}

.columna5,.columna6 {
  width: 220px    ;
  margin-left: 30px;
}
.columnamargin30 {
padding-left: 55px;

}

.columnamargin20 {
padding-left: 15px;
width: 100px;
}

/* Estilos para los ejercicios */
.renglon4 {
  border-bottom: 2px solid  #39955d;
}


ul {
  padding-left: 20px;
  list-style: none;
  justify-content: center;
}

.Ulcorta {
margin-left: 50px;
} 

li {
  margin-bottom: 10px;
  background-color: #f3f3f3;
  background-position: center;
  padding: 3px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  font-size: 17px;
  list-style: none;
  font-family:Arial, Helvetica, sans-serif;
  color:rgb(31, 31, 31);
  width: fit-content;
  font-size: 17px;
 }

 .listyellow {
  background-color:  #39955d;
  color: white;
  font-size: 16px;
  text-align: center;
  width: 150px;
  font-weight: bold;
  font-size: 17px;
 }

 .listyellow2 {
  background-color:  #39955d;
  color: white;
  font-size: 16px;
  text-align: center;
  width: 90px;
  font-weight: bold;
  justify-content: center;
  font-size: 17px;
 }
 .listalarga {
  width: 250px;
  text-align: left;
  font-size: 17px;
  margin-left: 15px;

 }
 .listalarga1 {
  width: 600px;
  text-align: left;
  font-size: 17px;
  margin-left: 35px;

 }


 .li600w{
  width: 600px;
 }
  /* Estilos CSS para la tabla */
  table {
      border-collapse: collapse;
      width: 70%;
      margin: auto;
      border-radius: 55px;
      font-family: Arial, Helvetica, sans-serif;
      margin: 15px;
      margin: 0 auto; /* Esto centra la tabla horizontalmente */
      font-weight: 17px;
  }

 .tbabecedario {
  width: 600px;
 }

 .titulotbabc1 {
  margin-bottom: -16px;
}


  th, td {
      padding: 10px;
      text-align: center;
      font-size: 16px;
      border-radius: px;
  }
  
  /* Aplicar estilos alternos a las filas */
  tr:nth-child(even) {
      background-color: #f2f2f2; /* Fila gris para filas pares */
      border-radius: 25px;
      font-size: 16px;
  }
  
  tr:nth-child(odd) {
      background-color: #ffffff; /* Fila blanca para filas impares */
      font-size: 16px;
  }
  .contenedorcheck{
      display: flex;
      align-items: center;
      font-size: 18px;
      height: 22px;
      padding-left: 60px;
    }
    .preguntasfondo {
      background-color:  #39955d;
      padding: 5px;
      border-radius: 15px;
      color: white;
      width: fit-content;
      font-size: 16px;
    }
    
    .correcto {
      color: green;
    }
    
    .incorrecto {
      color: red;
    }
    
    label {
      font-family: Arial, Helvetica, sans-serif;
      justify-content: center; /* Centra horizontalmente el contenido */
      align-items: center; /* Centra verticalmente el contenido */
      font-size: 17px;
    }

    .abrirycerrarmenu {
        color: #ffffff;
        display: flex;
       width: 45px;
       position: fixed;
       top:40px;
       left:198px;
    }
    .minimenu {
      color: #ffffff;
      display: flex;
     width: 45px;
     position: fixed;
     top:40px;
     left: 19px;


  }
@media (max-width: 400px){
    .barra-lateral{
        position: fixed;
        left: -250px;
        height: 800px;

    }
    .max-barra-lateral{
        left: 0;
    }
    .menu ion-icon:nth-child(2){
        display: none;
    }
 .menu {
    display: flex;
    right: 15px;



 }
 main{
    padding: 5px;
    padding-left: 0px;
width: 390px;
}
body {
font-size: 17px;
padding: 5px;
max-width: 390px;
}
  /* Reducir el margen izquierdo de ejemplos */
  .ejemplosp {
    margin-left: 1rem;
    font-size: 17px;

}

/* Cambiar el tamaño de fuente en pantallas pequeñas */
p {
    font-size: 17px;
    width: 90%;
}

.p50pad{/* parrafos con 50px padding */
    padding-left: 25px;
    width: 90%;
  }

  .p25pad{/* parrafos con 25px padding */
    padding-left: 20px;
  }

  .spacep1{
    margin-left: 100px;
}

.spacep2{
  margin-left: 70px;
}
.palabrasencerradas {
padding: 10 5 10 5;
margin: 2px;
}
.titulounidad {
margin: auto;
width: 390px;
}

.contenedorlista1capitulo {
display: flex;
width: 98%;
}

.contenedorlista1 {
display: block;

}

.contenedorlista2 {
display: flex;
margin-left: 1px;
padding-left: 1px;
}
.columna1_1 {

width: fit-content;
}

.columna1_2 {
width: fit-content;
}

.columna2 {
margin-left: 1px;
padding-left: 1px;
}

.columna5,.columna6 {
width: 180px    ;
margin-left: 10px;
}

.columnamargin30 {
padding-left: 20px;

}
.columnamargin20 {
padding-left: 8px;
}

ul {
padding: 4px;
list-style: none;

}
.Ulcorta {
margin-left: 35px;
width: 200px;
}

.Ul1p {
margin-left: 85px;
font-size: 16px;
width: 100px;
}
li {

padding: 3px;
padding-right: 10px;
font-size: 16px;
width: fit-content;
}
.listyellow2 {

font-size: 17px;
}

.li600w{
width: 360px;
}
.listalarga {
width: 149px;
font-size: 16px;
text-align: left;

}
.listalarga1 {
width: 350px;
text-align: left;
font-size: 16px;
margin-left: 5px;

}
.li30w {
width: 120px;
margin-left: 10px;
}

.li60w {
margin-left: 10px;
width: 200px;
padding-left: 10px;
}

.renglon1{ /*  renglon 20% */
width: 5em;

}

.renglon3{
width: 17rem;
font-size: 16px;
height: 18px;

}


.renglon5{
width: 21rem;
font-size: 16px;
height: 18px;

}
.renglon6{
width: 23rem;
font-size: 16px;
height: 18px;

}

table {
width: 350px;
border-radius: 25px;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;

}

.tbabecedario {
width: 350px;
}  

.trfitcontent {
width: fit-content;
} 

th {
padding: 5px;
text-align: center;
width: 350px;
}
td {
padding: 5px;
text-align: center;
font-size: 15px;
}
.titulotbabc {
width: 350px;
}

.titulotbabc1 {
width: 350px;
}
.abrirycerrarmenu {
display: none;
width: 0;
color: transparent;
}
} 



